home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / Windows / System32 / HTMLRE90.DLL / HTML / 11611 < prev    next >
Encoding:
Text File  |  2002-07-05  |  2.1 KB  |  89 lines

  1. <HTML>
  2. <HEAD>
  3.   <LINK REL="stylesheet" TYPE="text/css" HREF="%1css/default.css">
  4. </HEAD>
  5.  
  6. <script language="Javascript">
  7. //LOCALIZATION STRINGS
  8. var _strPromptTitle = "Please enter a report title.";
  9.  
  10. var _strTitleAlert = "Please limit the title to 100 characters.";
  11. var _strDescAlert = "Please limit the description to 1024 characters.";
  12.  
  13.  
  14. </script>
  15.  
  16. <SCRIPT>
  17. function doSubmitForm()
  18. {
  19.   if (document.forms.shortform.title.value == "")
  20.   {
  21.     alert(_strPromptTitle);
  22.     return;
  23.   }
  24.  
  25.   var strTitle = document.forms.shortform.title.value;
  26.   var strDesc = document.forms.shortform.desc.value;
  27.   if (strTitle.length > 100)
  28.   {
  29.      alert(_strTitleAlert);
  30.      return;
  31.   }
  32.   if (strDesc.length > 1024)
  33.   {
  34.      alert(_strDescAlert);
  35.      return;
  36.   }
  37.  
  38.   document.forms.shortform.submit();
  39. }
  40.  
  41. function relocate(url)
  42. {
  43.   window.parent.parent.location = url;
  44. }
  45. </SCRIPT>
  46.  
  47. <BODY leftmargin=10>
  48. <form name="shortform" method="post" ACTION="%8" target="_parent">   
  49.  
  50. <table width=95% cellpadding=2 cellspacing=2>
  51.  
  52. <tr><td class="list">Shortcut Title:</td><td class="list"><INPUT TYPE="TEXT" SIZE="40" NAME="title" VALUE="%7"></TD></tr> 
  53.  
  54. <TR>
  55.    <TD class="list" VALIGN="TOP">Description:</TD><TD class="list" COLSPAN="2"><TEXTAREA WRAP="virtual" NAME="desc" ROWS="7" COLS="50">%6</TEXTAREA></TD>
  56. </TR>
  57.  
  58. <tr><td class="list">Shortcut to:</td><td class="list"><a  class="list"href="%2" target="target_frame">%3</a></td></tr>
  59.  
  60. <tr><td class="list">Folder Path:</td><td class="list">%4</td></tr>
  61.  
  62. <tr><td class="list">Created:</td><td class="list">%5</td></tr>
  63.  
  64. <tr>
  65.     <td colspan=2 align=right>
  66.         <table cellpadding=0 border=0>
  67.             <tr>
  68.                 <td class="clsButton" align=middle nowrap>
  69.                     <div class="clsButton"> <A HREF="javascript:doSubmitForm()">Update</A> </div>
  70.                 </td>
  71.             </tr>
  72.         </table>
  73.     </td>
  74.     <td>        
  75.         <table cellpadding=0 border=0>
  76.             <tr>
  77.                 <td class="clsButton" align=middle nowrap>
  78.                 <div class="clsButton"><a href="javascript:document.shortform.reset()">Reset</a></div>
  79.                 </td>
  80.             </tr>
  81.         </table>
  82.     </td>
  83. </tr>
  84. </table>
  85.  
  86. </form>
  87. </BODY>
  88. </HTML>
  89.